package com.hfjava.practice04;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: com.hfjava.practice04
 * @ClassName: Account
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/27 9:04
 * @Copyright 大牛版板所有
 */
public class Account {
    private int balance = 50000;

    public int getBalance() {
        return balance;
    }

    public int deposit(){
        balance = balance + 100;
        return balance;
    }
}
